home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 2000 November: Tool Chest / Dev.CD Nov 00 TC Disk 1.toast / What's New? / Development Kits / Mac OS / Installer SDK 1.2.4 / Upgrader 1.2.3 & Engines / Installer Engine 4.5.2 / Interfaces / CIncludes / ActionHandlerHeader.h next >
Encoding:
C/C++ Source or Header  |  2000-10-04  |  32.3 KB  |  714 lines  |  [TEXT/MPS ]

  1. /*
  2.     File:        ActionHandlerHeader.h
  3.  
  4.     Copyright:    © 1993-98 by Apple Computer, Inc., all rights reserved.
  5. */
  6.  
  7.  
  8. #ifndef __ActionHandlerHeader__
  9. #define __ActionHandlerHeader__
  10.  
  11. // —— Action Classes & Identifiers
  12.  
  13. /*==================================================================================================*/
  14. /*=================================== Script Action Class ==========================================*/
  15. /*==================================================================================================*/
  16. #define    kScriptAction                    5000    
  17. #define kPackageNotFoundActStr            "Script Error:  The package with ID=^0 could not be found."
  18. #define    kPackageNotFoundActID            5001    /*    p0 = Package ID
  19.                                                     p1 =
  20.                                                     p2 =
  21.                                                     p3 =
  22.                                                     r  = */
  23. #define kAtomNotFoundInPackageActStr    "Script Error:  The atom of type '^1' with ID=^0 could not be found in the script."
  24. #define    kAtomNotFoundInPackageActID        5002    /*    p0 = Atom ID
  25.                                                     p1 = Atom Type (RsrcType)
  26.                                                     p2 =
  27.                                                     p3 =
  28.                                                     r  = */
  29. #define kFrameworkNotFoundActStr        "Script Error:  The framework ID=^0 could not be found in the script."
  30. #define    kFrameworkNotFoundActID            5003    /*    p0 = Framework ID
  31.                                                     p1 =
  32.                                                     p2 =
  33.                                                     p3 =
  34.                                                     r  = */
  35. #define kRuleNotFoundActStr                "Script Error:  The rule ID=^0 could not be found."
  36. #define    kRuleNotFoundActID                5004    /*    p0 = Rule ID
  37.                                                     p1 =
  38.                                                     p2 =
  39.                                                     p3 =
  40.                                                     r  = */
  41. #define kFileSpecNotFoundActStr            "Script Error:  File Spec ID=^0 could not be found."
  42. #define    kFileSpecNotFoundActID            5005    /*    p0 = File Spec ID
  43.                                                     p1 =
  44.                                                     p2 =
  45.                                                     p3 =
  46.                                                     r  = */
  47. #define kFileSpecIsBadActStr            "Script Error:  File spec ID=^0 is corrupted, most likely the path name."
  48. #define    kFileSpecIsBadActID                5006    /*    p0 = 
  49.                                                     p1 = 
  50.                                                     p2 = 
  51.                                                     p3 =
  52.                                                     r  = */
  53. #define kCouldNotOpenScriptActStr        "Script Error:  The script '^0' could not be opened.  Error ^1."
  54. #define    kCouldNotOpenScriptActID        5007    /*    p0 = ScriptName (Str255*)
  55.                                                     p1 = OSErr
  56.                                                     p2 =
  57.                                                     p3 =
  58.                                                     r  = */
  59. #define kFileSpecIDIsBadActStr            "Script Error:  File spec ID=^0 cannot have this ID number (ID=-32767 is reserved, and ID=0 can only be used for source file specs of atoms that are not copying)."
  60. #define    kFileSpecIDIsBadActID            5008    /*    p0 = File Spec ID
  61.                                                     p1 = 
  62.                                                     p2 = 
  63.                                                     p3 =
  64.                                                     r  = */
  65. #define kAtomIsBadActStr                "Script Error:  Atom of type '^1' and ID=^0 is bad."
  66. #define    kAtomIDIsBadActID                5009    /*    p0 = Atom ID
  67.                                                     p1 = Atom Type (OSType)
  68.                                                     p2 = 
  69.                                                     p3 =
  70.                                                     r  = */
  71. #define kNotEnoughMemoryToReadActStr    "Memory Error:  Ran out of Installer memory while loading script.  Please set the Installer's partition larger."
  72. #define    kNotEnoughMemoryToReadActID        5010    /*    p0 = 
  73.                                                     p1 = 
  74.                                                     p2 = 
  75.                                                     p3 =
  76.                                                     r  = */
  77. #define kSubHeapToSmallActStr             "Script Error:  The script's sub-heap is too small.  Please set the value in the 'insz' resource higher."
  78. #define    kSubHeapToSmallActID            5011    /*    p0 = 
  79.                                                     p1 = 
  80.                                                     p2 = 
  81.                                                     p3 =
  82.                                                     r  = */
  83. #define kFileSpecNotFndWithRefActStr    "Script Error:  File Spec ID=^0 could not be found.  Referenced from '^1' ID=^2."
  84. #define    kFileSpecNotFndWithRefActID        5012    /*    p0 = File Spec ID
  85.                                                     p1 = Reference Type (RsrcType)
  86.                                                     p2 = Reference ID
  87.                                                     p3 =
  88.                                                     r  = */
  89. #define kVersCompareNotFoundActStr        "Script Error:  The Version Compare resource ('invc') ID=^0 could not be found in the script."
  90. #define    kVersCompareNotFoundActID        5013    /*    p0 = 'invc' resource ID
  91.                                                     p1 =
  92.                                                     p2 =
  93.                                                     p3 =
  94.                                                     r  = */
  95. #define kSearchProcNotFoundActStr        "Script Error:  The Search Procedure resource ('insp') ID=^0 could not be found in the script."
  96. #define    kSearchProcNotFoundActID        5014    /*    p0 = 'insp' resource ID
  97.                                                     p1 =
  98.                                                     p2 =
  99.                                                     p3 =
  100.                                                     r  = */
  101. #define kRuleFunctionNotFoundActStr        "Script Error:  The Rule Function resource ('inrf') ID=^0 could not be found in the script."
  102. #define    kRuleFunctionNotFoundActID        5015    /*    p0 = 'inrf' resource ID
  103.                                                     p1 =
  104.                                                     p2 =
  105.                                                     p3 =
  106.                                                     r  = */
  107. #define kDeleteOverrideActStr            "Script Override:  Resource ('^0') ID=^1 will be ignored."
  108. #define    kDeleteOverrideActID            5016    /*    p0 = resource type
  109.                                                     p1 = resource ID
  110.                                                     p2 =
  111.                                                     p3 =
  112.                                                     r  = */
  113.                                                     
  114. #define kMissingFolderTypeActStr        "Script Error:    The Folder Type ('^0') could not be found."
  115. #define kMissingFolderTypeActID            5017    /*    p0 = folder type
  116.                                                     p1 =
  117.                                                     p2 =
  118.                                                     p3 =
  119.                                                     r  = */
  120.  
  121. /*==================================================================================================*/
  122. /*====================================== Rule Action Class =========================================*/
  123. /*==================================================================================================*/
  124. #define    kRemapActionResultToTRUE        1
  125. #define    kRemapActionResultToFALSE        -1
  126. #define    kDontRemapActionResult            0
  127.  
  128.  
  129. #define    kFireRulesAction                5100
  130. #define kFrameworkActStr                "Rule Action:  Framework ID=^0, index ^1 is about to be fired."
  131. #define    kFrameworkActID                    5101    /*    p0 = Framework ID
  132.                                                     p1 = Framework Index
  133.                                                     p2 = 
  134.                                                     p3 = FSSpec* to script document
  135.                                                     r  = */
  136.                                                 
  137. #define kRuleResultActStr                "Rule Action:  Rule ID=^0 returned ^1."
  138. #define    kRuleResultActID                5102    /*    p0 = Rule ID
  139.                                                     p1 = Result (TRUE or FALSE)
  140.                                                     p2 = 
  141.                                                     p3 =
  142.                                                     r  = New Result (kRemapActionResultToTRUE, kRemapActionResultToFALSE, or kDontRemapActionResult) */
  143.                                                 
  144. #define kRuleClauseResultActStr            "Rule Action:  Rule Clause index ^1 of rule ID=^0 returned ^2."
  145. #define    kRuleClauseResultActID            5103    /*    p0 = Rule ID
  146.                                                     p1 = Rule Clause Index
  147.                                                     p2 = Result (TRUE or FALSE)
  148.                                                     p3 =
  149.                                                     r  = New Result (kRemapActionResultToTRUE, kRemapActionResultToFALSE, or kDontRemapActionResult)*/
  150.  
  151.  
  152. /*==================================================================================================*/
  153. /*===================================== Target Action Class ========================================*/
  154. /*==================================================================================================*/
  155. #define    kTargetAction                    5200
  156. #define kTgtFileNotFoundActStr            "Runtime Error:  Target file '^1' was not found (Target File Spec. ID=^0)."        // NOT USED
  157. #define    kTgtFileNotFoundActID            5201    /*    p0 = Target File Spec ID
  158.                                                     p1 = File Name (Str255*)
  159.                                                     p2 = Volume Name (Str255*)
  160.                                                     p3 =
  161.                                                     r  = */
  162. #define kTgtFileLockedActStr            "Runtime Error:  File '^1' is locked (Target File Spec. ID=^0)."                // NOT USED
  163. #define    kTgtFileLockedActID                5202    /*    p0 = Target File Spec ID
  164.                                                     p1 = File Name (Str255*)
  165.                                                     p2 = 
  166.                                                     p3 =
  167.                                                     r  = */
  168. #define kTgtErrForFileAtomActStr         "Runtime Error:  Problems accessing/writing target file '^1'. Error# ^2. (Target File Spec. ID=^0)."
  169. #define    kTgtErrForFileAtomActID            5203    /*    p0 = Target File Spec ID
  170.                                                     p1 = File Name (Str255*)
  171.                                                     p2 = OSErr
  172.                                                     p3 = Atom ID
  173.                                                     r  = */
  174. #define kTgtErrForRsrcAtomActStr        "Runtime Error:  Problems accessing/writing target resource, type '^1' ID=^2. Error# ^3. (Target File Spec. ID=^0)."
  175. #define    kTgtErrForRsrcAtomActID            5204    /*    p0 = Target File Spec ID
  176.                                                     p1 = Rsrc Type
  177.                                                     p2 = Rsrc ID
  178.                                                     p3 = OSErr
  179.                                                     r  = */
  180. #define kTgtErrForFontAtomActStr        "Runtime Error:  Problems accessing/writing target font ^1. Error# ^2. (Target File Spec. ID=^0)."
  181. #define    kTgtErrForFontAtomActID            5205    /*    p0 = Target File Spec ID
  182.                                                     p1 = Font Name (Str255*)
  183.                                                     p2 = OSErr
  184.                                                     p3 = Atom ID
  185.                                                     r  = */
  186. #define kTgtMatchesSrcErrActStr            "Runtime Error:  The target file “^1” on the volume “^2” matches a source file. (Target File Spec. ID=^0)."
  187. #define    kTgtMatchesSrcErrActID            5206    /*    p0 = Target File Spec ID
  188.                                                     p1 = File Name (Str255*)
  189.                                                     p2 = Source Volume Name (Str255*)
  190.                                                     p3 = 
  191.                                                     r  = */
  192. #define kTgtErrForFolderAtomActStr        "Runtime Error:  Problems accessing/writing target folder “^1”. Error# ^2. (Folder Atom ID=^0)."
  193. #define    kTgtErrForFolderAtomActID        5207    /*    p0 = Folder Atom ID
  194.                                                     p1 = File Name
  195.                                                     p2 = OSErr
  196.                                                     p3 = 
  197.                                                     r  = */
  198. #define kTgtErrForResMergeAtomActStr    "Runtime Error:  Problems accessing/writing target file “^1”. Error# ^2. (ResMerge Atom ID=^0)."
  199. #define    kTgtErrForResMergeAtomActID    5208    /*    p0 = ResMerge Atom ID
  200.                                                     p1 = File Name
  201.                                                     p2 = OSErr
  202.                                                     p3 = 
  203.                                                     r  = */
  204.  
  205.  
  206. /*==================================================================================================*/
  207. /*===================================== Source Action Class ========================================*/
  208. /*==================================================================================================*/
  209. #define    kSourceAction                    5300
  210. #define kSrcFileNotFoundActStr            "Runtime Error:  Source File '^1' was not found on the volume '^2'. (Source File Spec. ID=^0)."
  211. #define    kSrcFileNotFoundActID            5301    /*    p0 = Source File Spec ID
  212.                                                     p1 = File Name (Str255*)
  213.                                                     p2 = Volume Name (Str255*)
  214.                                                     p3 =
  215.                                                     r  = */
  216. #define kSrcErrForFileAtomActStr         "Runtime Error:  Problems reading source file '^1'. Error# ^2. (Source File Spec. ID=^0)."
  217. #define    kSrcErrForFileAtomActID            5302    /*    p0 = Source File Spec ID
  218.                                                     p1 = File Name (Str255*)
  219.                                                     p2 = OSErr
  220.                                                     p3 =
  221.                                                     r  = */
  222. #define kSrcErrForRsrcAtomActStr        "Runtime Error:  Problems reading source resource, type '^1' ID=^2. Error# ^3. (Source File Spec. ID=^0)."
  223. #define    kSrcErrForRsrcAtomActID            5303    /*    p0 = Source File Spec ID
  224.                                                     p1 = Rsrc Type
  225.                                                     p2 = 
  226.                                                     p3 = OSErr
  227.                                                     r  = */
  228. #define kSrcErrForFontAtomActStr        "Runtime Error:  Problems reading source font “^1”. Error# ^2. (Source File Spec. ID=^0)."
  229. #define    kSrcErrForFontAtomActID            5304    /*    p0 = Source File Spec ID
  230.                                                     p1 = Font Name
  231.                                                     p2 = OSErr
  232.                                                     p3 = 
  233.                                                     r  = */
  234. #define kSrcErrForResMergeAtomActStr    "Runtime Error:  Problems reading source file “^1”. Error# ^2. (ResMerge Atom ID=^0)."
  235. #define    kSrcErrForResMergeAtomActID    5306        /*    p0 = ResMerge Atom ID
  236.                                                     p1 = File Name
  237.                                                     p2 = OSErr
  238.                                                     p3 = 
  239.                                                     r  = */
  240.  
  241.  
  242. /*==================================================================================================*/
  243. /*===================================== Extender Action Class ======================================*/
  244. /*==================================================================================================*/
  245. #define    kExtenderAction                    5400
  246. #define kExtCodeRsrcNotFoundActStr        "Script Error:  Code resource type '^1' ID=^2 was not found for the Atom Extender ID=^0."
  247. #define    kExtCodeRsrcNotFoundActID        5401    /*    p0 = Atom Extender ID
  248.                                                     p1 = Code Rsrc Type
  249.                                                     p2 = Code Rsrc ID
  250.                                                     p3 = 
  251.                                                     r  = */
  252. #define kExtenderRsrcNotFoundActStr        "Script Error:  Atom Extender ID=^0 was not found."
  253. #define    kExtenderRsrcNotFoundActID        5402    /*    p0 = Atom Extender ID
  254.                                                     p1 =
  255.                                                     p2 = 
  256.                                                     p3 =
  257.                                                     r  = */
  258. #define kCallBackNotAvailableActStr        "Runtime Error:  Call back routine, dispatcher number ^0, can not be called now from extender ID=^1."
  259. #define    kCallBackNotAvailableActID        5403    /*    p0 = Atom Extender ID
  260.                                                     p1 = Routine Dispatch Number
  261.                                                     p2 = 
  262.                                                     p3 =
  263.                                                     r  = */
  264. #define kExtenderResultActStr            "Runtime Error:  Atom Extender ID=^0 returned error number ^1."
  265. #define    kExtenderResultActID            5404    /*    p0 = Atom Extender ID
  266.                                                     p1 = Result (OSErr if != 0)
  267.                                                     p2 = 
  268.                                                     p3 =
  269.                                                     r  = */
  270. #define kA5NotSetCorrectlyActStr        "Runtime Error:  Atom Extender ID=^0 called an Installer routine without setting A5 properly."
  271. #define    kA5NotSetCorrectlyActID            5405    /*    p0 = Extender ID
  272.                                                     p1 = 
  273.                                                     p2 = 
  274.                                                     p3 =
  275.                                                     r  = */
  276. #define kTgtSetupProcNotFoundActStr        "Script Error:  Preference setup code resource, type '^1' ID=^0, was not found in the script."
  277. #define    kTgtSetupProcNotFoundActID        5406    /*    p0 = Setup Code Rsrc ID
  278.                                                     p1 = Setup Code Rsrc Type
  279.                                                     p2 = 
  280.                                                     p3 =
  281.                                                     r  = */
  282. #define kVersCodeRsrcNotFoundActStr        "Script Error:  Version code resource, type '^1' ID=^0, was not found in the script."
  283. #define    kVersCodeRsrcNotFoundActID        5407    /*    p0 = Version Code Rsrc ID
  284.                                                     p1 = Version Rsrc Type
  285.                                                     p2 = 
  286.                                                     p3 =
  287.                                                     r  = */
  288. #define kActionAtomCodeRsrcNFActStr        "Script Error:  Action Atom code resource, type '^1' ID=^0, was not found in the script."
  289. #define    kActionAtomCodeRsrcNFActID        5408    /*    p0 = Action Atom Code Rsrc ID
  290.                                                     p1 = Action Atom Rsrc Type
  291.                                                     p2 = 
  292.                                                     p3 =
  293.                                                     r  = */
  294. #define kSearchProcCodeRsrcNFActStr        "Script Error:  Search Proc code resource, type '^1' ID=^0, was not found in the script."
  295. #define    kSearchProcCodeRsrcNFActID        5409    /*    p0 = Search Proc Code Rsrc ID
  296.                                                     p1 = Search Proc Rsrc Type
  297.                                                     p2 = 
  298.                                                     p3 =
  299.                                                     r  = */
  300. #define kSearchProcBadFileActStr        "Runtime Warning:  Skipped found file “^1” returned from Search Proc ID=^0."
  301. #define    kSearchProcBadFileActID            5410    /*    p0 = Search Proc Rsrc ID
  302.                                                     p1 = File Name
  303.                                                     p2 = 
  304.                                                     p3 =
  305.                                                     r  = */
  306. #define kRuleFuncCodeRsrcNFActStr        "Script Error:  Rule Function code resource, type '^1' ID=^0, was not found in the script."
  307. #define    kRuleFuncCodeRsrcNFActID        5411    /*    p0 = Rule Function Code Rsrc ID
  308.                                                     p1 = Rule Function Rsrc Type
  309.                                                     p2 = 
  310.                                                     p3 =
  311.                                                     r  = */
  312. #define kLowModuleSetupMemoryActStr        "Runtime Warning:  Please increase Installer parition.  Could not allocate all requested memory of ^2 for code resource, type '^1' ID=^0."
  313. #define    kLowModuleSetupMemoryActID        5412    /*    p0 = Code Rsrc ID
  314.                                                     p1 = Rsrc Type
  315.                                                     p2 = Requested Memory
  316.                                                     p3 =
  317.                                                     r  = */
  318. #define kNoModuleSetupMemoryActStr        "Runtime Error:  Could not allocate any requested memory of ^2 for code resource, type '^1' ID=^0."
  319. #define    kNoModuleSetupMemoryActID        5413    /*    p0 = Code Rsrc ID
  320.                                                     p1 = Rsrc Type
  321.                                                     p2 = Requested Memory
  322.                                                     p3 =
  323.                                                     r  = */
  324.     
  325.  
  326. /*==================================================================================================*/
  327. /*==================================== Debugging Action Class ======================================*/
  328. /*==================================================================================================*/
  329. #define    kDebuggingAction                5600
  330.  
  331. #define kGenericDebugActStr                "^0^1^2^3"
  332. #define    kGenericDebugActID                5604    /*    p0 = Any string
  333.                                                     p1 = Any string
  334.                                                     p2 = Any string
  335.                                                     p3 = Any string
  336.                                                     r  =  */
  337.                                                     
  338. /*==================================================================================================*/
  339. /*===================================== Progress Action Class ======================================*/
  340. /*==================================================================================================*/
  341. #define    kProgressAction                    5700
  342. #define kClickedInstallActStr            "Progress:  Beginning installation."
  343. #define    kClickedInstallActID            5701    /*    p0 =
  344.                                                     p1 =
  345.                                                     p2 = 
  346.                                                     p3 =
  347.                                                     r  = */
  348. #define kClickedRemoveActStr            "Progress:  Beginning removal."
  349. #define    kClickedRemoveActID                5702    /*    p0 =
  350.                                                     p1 =
  351.                                                     p2 = 
  352.                                                     p3 =
  353.                                                     r  = */
  354. #define kInstallationResultActStr        "Progress:  Installation ended with the result code #^0."
  355. #define    kInstallationResultActID        5703    /*    p0 = OSErr
  356.                                                     p1 =
  357.                                                     p2 = 
  358.                                                     p3 =
  359.                                                     r  =  */
  360. #define kRemovalResultActStr            "Progress:  Removal ended with the result code #^0."
  361. #define    kRemovalResultActID                5704    /*    p0 = OSErr
  362.                                                     p1 =
  363.                                                     p2 = 
  364.                                                     p3 =
  365.                                                     r  =  */
  366.  
  367. #define    kRemapActionResultToCancel        1
  368. #define    kRemapActionResultToError        -1
  369.  
  370. #define kActionAtomResultActStr            "Progress:  Action Atom ID= ^0 returned result ^1 from a ^2 message."
  371. #define    kActionAtomResultActID            5705    /*    p0 = Action Atom ID
  372.                                                     p1 = result (1=cancel, 0=continue, -1=fatalError)
  373.                                                     p2 = stage (0=before, 1=after, 2=cleanUpCancel)
  374.                                                     p3 =
  375.                                                     r  = New Result (kRemapActionResultToCancel, kRemapActionResultToError, or kDontRemapActionResult ) */
  376.  
  377.  
  378. /*==================================================================================================*/
  379. /*======================================= File Progress Actions ====================================*/
  380. /*==================================================================================================*/
  381. #define    kFileProgressAction                5800
  382.  
  383.                                                     
  384. /*==========File COPY action items================*/
  385. #define kFileCopiedStr                    "FILE will be copied “^1” to “^2”. (infa#=^0)."
  386. #define    kFileCopiedID                    5801    /*    p0 =    File Atom ID
  387.                                                     p1 =    File Spec ID
  388.                                                     p2 =     Volume Name (Str255)
  389.                                                     p3 =    
  390.                                                     r  = */
  391.                                                     
  392. #define kFileNotCopiedStr                "FILE will NOT be copied “^1”, to the disk “^2”. (infa#=^0)"
  393. #define    kFileNotCopiedID                5802    /*    p0 =    File Atom ID
  394.                                                     p1 =    File Spec ID
  395.                                                     p2 =     Volume Name (Str255)
  396.                                                     p3 =    
  397.                                                     r  = */
  398.                                                 
  399. #define kFileNotCopiedNewerLeftStr        "FILE will NOT be copied “^1”, to the disk “^2”, because the target file is newer.  (infa#=^0)."
  400. #define    kFileNotCopiedNewerLeftID        5803    /*    p0 =    File Atom ID
  401.                                                     p1 =    File Spec ID
  402.                                                     p2 =     Volume Name (Str255)
  403.                                                     p3 =    
  404.                                                     r  = */
  405.                                                 
  406. #define kFileNotCopiedLockedStr            "FILE will NOT be copied “^1”, to the disk “^2”, because the target file was locked.  (infa#=^0)."
  407. #define    kFileNotCopiedLockedID            5804    /*    p0 =    File Atom ID
  408.                                                     p1 =    File Spec ID
  409.                                                     p2 =     Volume Name (Str255)
  410.                                                     p3 =    
  411.                                                     r  = */
  412.                                                     
  413. /*==========File UPDATE action items================*/
  414. #define kFileUpdatedStr                    "FILE will be updated “^1”, on the disk “^2”.  (infa#=^0)."
  415. #define    kFileUpdatedID                    5805    /*    p0 =    File Atom ID
  416.                                                     p1 =    File Spec ID
  417.                                                     p2 =     Volume Name (Str255)
  418.                                                     p3 =    
  419.                                                     r  = */
  420.                                                     
  421. #define kFileNotUpdatedKeptExistStr        "FILE will NOT be updated “^1”, on the disk “^2”, because the Installer is keeping the existing file. (infa#=^0)."
  422. #define    kFileNotUpdatedKeptExistID        5806    /*    p0 =    File Atom ID
  423.                                                     p1 =    File Spec ID
  424.                                                     p2 =     Volume Name (Str255)
  425.                                                     p3 =    
  426.                                                     r  = */
  427.                                                                                                         
  428. #define kFileNotUpdatedNotExistStr        "FILE will NOT be updated “^1”, on the disk “^2”, because the target file does not exist. (infa#=^0)."
  429. #define    kFileNotUpdatedNotExistID        5807    /*    p0 =    File Atom ID
  430.                                                     p1 =    File Spec ID
  431.                                                     p2 =     Volume Name (Str255)
  432.                                                     p3 =    
  433.                                                     r  = */
  434.  
  435.                                                     
  436. /*==========File REMOVE action items================*/
  437. #define kFileRemovedStr                    "FILE will be removed “^1”, from the disk “^2”. (infa#=^0)."
  438. #define    kFileRemovedID                    5808    /*    p0 =    File Atom ID
  439.                                                     p1 =    File Spec ID
  440.                                                     p2 =     Volume name (Str255)
  441.                                                     p3 =    
  442.                                                     r  = */
  443.                                                     
  444. #define kFileNotRemovedStr                "FILE will NOT be removed “^1”, from the disk “^2”. (infa#=^0)."
  445. #define    kFileNotRemovedID                5809    /*    p0 =    File Atom ID
  446.                                                     p1 =    File Spec ID
  447.                                                     p2 =     Volume name (Str255)
  448.                                                     p3 =    
  449.                                                     r  = */
  450.                                                     
  451. #define kFileNotRemovedNoExistStr        "FILE will NOT be removed “^1”, from the disk “^2”, because it did not exist. (infa#=^0)."
  452. #define    kFileNotRemovedNoExistID        5810    /*    p0 =    File Atom ID
  453.                                                     p1 =    File Spec ID
  454.                                                     p2 =     Volume name (Str255)
  455.                                                     p3 =    
  456.                                                     r  = */
  457.                                                     
  458. #define kFileNotRemovedLockedStr        "FILE will NOT be removed “^1”, from the disk “^2”, because it is locked. (infa#=^0)."
  459. #define    kFileNotRemovedLockedID            5811    /*    p0 =    File Atom ID
  460.                                                     p1 =    File Spec ID
  461.                                                     p2 =     Volume name (Str255)
  462.                                                     p3 =    
  463.                                                     r  = */
  464.                                                     
  465. /*==========Miscellaneous action items================*/
  466. #define kFileSetLockedStr                "The file “^1” will be locked on the disk “^2”. (infa#=^0)."
  467. #define    kFileSetLockedID                5812    /*    p0 =    File Atom ID
  468.                                                     p1 =    File Spec ID
  469.                                                     p2 =     Volume name (Str255)
  470.                                                     p3 =    
  471.                                                     r  = */
  472.                                                     
  473.  
  474. /*==================================================================================================*/
  475. /*===================================== Resource Progress Actions ==================================*/
  476. /*==================================================================================================*/
  477. #define    kRsrcProgressAction                5900
  478.  
  479. /*==========Resource COPY action items================*/
  480.  
  481. #define kRsrcCopiedStr                    "RSRC will be copied (Type “^1”) into “^2” on the disk “^3”.  (inra#=^0)."
  482. #define    kRsrcCopiedID                    5901    /*    p0 =    Rsrc Atom ID
  483.                                                     p1 =    Rsrc Type/Rsrc ID (Str255)
  484.                                                     p2 =     File Spec ID
  485.                                                     p3 =    Volume Name (Str255)
  486.                                                     r  = */
  487.                                                     
  488. #define kRsrcNotCopiedStr                "RSRC will NOT be copied (Type “^1”), into the file “^2” on the disk “^3”.  (inra#=^0)."
  489. #define    kRsrcNotCopiedID                5902    /*    p0 =    Rsrc Atom ID
  490.                                                     p1 =    Rsrc Type/Rsrc ID (Str255)
  491.                                                     p2 =     File Spec ID
  492.                                                     p3 =    Volume Name (Str255)
  493.                                                     r  = */
  494.                                                     
  495. #define kRsrcNotCopiedNewerLeftStr        "RSRC will NOT be copied (Type “^1”), into the file “^2”, on the disk “^3”, because the target resource is newer.  (inra#=^0)."
  496. #define    kRsrcNotCopiedNewerLeftID        5903    /*    p0 =    Rsrc Atom ID
  497.                                                     p1 =    Rsrc Type/Rsrc ID (Str255)
  498.                                                     p2 =     File Spec ID
  499.                                                     p3 =    Volume Name (Str255)
  500.                                                     r  = */
  501.                                                     
  502. #define kRsrcNotCopiedNotTargetStr        "RSRC will NOT be copied (Type “^1”), because the target file “^2” needs to exist on the disk “^3”.  (inra#=^0)."
  503. #define    kRsrcNotCopiedNotTargetID        5904    /*    p0 =    Rsrc Atom ID
  504.                                                     p1 =    Rsrc Type/Rsrc ID (Str255)
  505.                                                     p2 =     File Spec ID
  506.                                                     p3 =    Volume Name (Str255)
  507.                                                     r  = */
  508.                                                 
  509. #define kRsrcNotCopiedProtectedStr        "RSRC will NOT be copied (Type “^1”), into the file “^2”, because the target resource was protected on the disk “^3”.  (inra#=^0)."
  510. #define    kRsrcNotCopiedProtectedID        5905    /*    p0 =    Rsrc Atom ID
  511.                                                     p1 =    Rsrc Type/Rsrc ID (Str255)
  512.                                                     p2 =     File Spec ID
  513.                                                     p3 =    Volume Name (Str255)
  514.                                                     r  = */
  515.                                                 
  516.                                                 
  517. /*==========Resource UPDATE action items================*/
  518. #define kRsrcUpdatedStr                    "RSRC will be updated (Type “^1”) in the file “^2” on the disk “^3”.  (inra#=^0)."
  519. #define    kRsrcUpdatedID                    5906    /*    p0 =    Rsrc Atom ID
  520.                                                     p1 =    Rsrc Type/Rsrc ID (Str255)
  521.                                                     p2 =     File Spec ID
  522.                                                     p3 =    Volume Name (Str255)
  523.                                                     r  = */
  524.                                                     
  525. #define kRsrcNotUpdatedKeptExistStr        "RSRC will NOT be updated (Type “^1”), in the file “^2”, because the Installer is keeping the existing resource on the disk “^3”.  (inra#=^0)."
  526. #define    kRsrcNotUpdatedKeptExistID        5907    /*    p0 =    Rsrc Atom ID
  527.                                                     p1 =    Rsrc Type/Rsrc ID (Str255)
  528.                                                     p2 =     File Spec ID
  529.                                                     p3 =    Volume Name (Str255)
  530.                                                     r  = */
  531.                                                     
  532. #define kRsrcNotUpdatedLockedStr        "RSRC will NOT be updated (Type “^1”), because the target file “^2” contains a resource that is locked on the disk “^3”.  (inra#=^0)."
  533. #define    kRsrcNotUpdatedLockedID            5908    /*    p0 =    Rsrc Atom ID
  534.                                                     p1 =    Rsrc Type/Rsrc ID (Str255)
  535.                                                     p2 =     File Spec ID
  536.                                                     p3 =    Volume Name (Str255)
  537.                                                     r  = */
  538.                                                     
  539. #define kRsrcNotUpdatedNotExistStr        "RSRC will NOT be updated (Type “^1”), in the file “^2”, because it didn't exist on the disk “^3”.  (inra#=^0)."
  540. #define    kRsrcNotUpdatedNotExistID        5909    /*    p0 =    Rsrc Atom ID
  541.                                                     p1 =    Rsrc Type/Rsrc ID (Str255)
  542.                                                     p2 =     File Spec ID
  543.                                                     p3 =    Volume Name (Str255)
  544.                                                     r  = */
  545.                                                     
  546. #define kRsrcNotUpdatedProtectedStr        "RSRC will NOT be updated (Type “^1”), because the target resource was locked in the file “^2” on the disk “^3”.  (inra#=^0)."
  547. #define    kRsrcNotUpdatedProtectedID        5910    /*    p0 =    Rsrc Atom ID
  548.                                                     p1 =    Rsrc Type/Rsrc ID (Str255)
  549.                                                     p2 =     File Spec ID
  550.                                                     p3 =    Volume Name (Str255)
  551.                                                     r  = */
  552.                                                     
  553.                                                     
  554. /*==========Resource REMOVE action items================*/
  555.  
  556. #define kRsrcRemovedStr                    "RSRC will be removed (Type “^1”) from the file “^2” on the disk “^3”.  (inra#=^0)."
  557. #define    kRsrcRemovedID                    5911    /*    p0 =    Rsrc Atom ID
  558.                                                     p1 =    Rsrc Type/Rsrc ID (Str255)
  559.                                                     p2 =     File Spec ID
  560.                                                     p3 =    Volume Name (Str255)
  561.                                                     r  = */
  562.                                                     
  563. #define kRsrcNotRemovedStr                "RSRC will NOT be removed (Type “^1”), from the file “^2” on the disk “^3”.  (inra#=^0)."
  564. #define    kRsrcNotRemovedID                5912    /*    p0 =    Rsrc Atom ID
  565.                                                     p1 =    Rsrc Type/Rsrc ID (Str255)
  566.                                                     p2 =     File Spec ID
  567.                                                     p3 =    Volume Name (Str255)
  568.                                                     r  = */
  569.                                                     
  570. #define kRsrcNotRemovedNoExistStr        "RSRC will NOT be removed (Type “^1”), from the file “^2”, because it doesn't exist on the disk “^3”.  (inra#=^0)."
  571. #define    kRsrcNotRemovedNoExistID        5913    /*    p0 =    Rsrc Atom ID
  572.                                                     p1 =    Rsrc Type/Rsrc ID (Str255)
  573.                                                     p2 =     File Spec ID
  574.                                                     p3 =    Volume Name (Str255)
  575.                                                     r  = */
  576.                                                     
  577. #define kRsrcNotRemovedProtectedStr        "RSRC will NOT be removed (Type “^1”), from the file “^2”, because the resource is protected on the disk “^3”.  (inra#=^0)."
  578. #define    kRsrcNotRemovedProtectedID        5914    /*    p0 =    Rsrc Atom ID
  579.                                                     p1 =    Rsrc Type/Rsrc ID (Str255)
  580.                                                     p2 =     File Spec ID
  581.                                                     p3 =    Volume Name (Str255)
  582.                                                     r  = */
  583.                                                     
  584. #define kRsrcNotRemovedLockedStr        "RSRC will NOT be removed (Type “^1”), because the file “^2” is Locked on the disk “^3”.  (inra#=^0)."
  585. #define    kRsrcNotRemovedLockedID            5915    /*    p0 =    Rsrc Atom ID
  586.                                                     p1 =    Rsrc Type/Rsrc ID (Str255)
  587.                                                     p2 =     File Spec ID
  588.                                                     p3 =    Volume Name (Str255)
  589.                                                     r  = */                                                
  590.                                                 
  591. /*==================================================================================================*/
  592. /*====================================== Font Progress Actions =====================================*/
  593. /*==================================================================================================*/
  594. #define    kFontProgressAction                6000
  595.  
  596. /*==========Font COPY action items================*/
  597.  
  598. #define kFontCopiedStr                    "FONT will be copied “^1” into “^2” on the disk “^3”.  (inff#=^0)."
  599. #define    kFontCopiedID                    6001    /*    p0 =    Font Atom ID
  600.                                                     p1 =    Family Name (Str255)
  601.                                                     p2 =     File Spec ID
  602.                                                     p3 =    Volume Name (Str255)
  603.                                                     r  = */
  604.                                                     
  605. #define kFontNotCopiedStr                "FONT will NOT be copied “^1” into the file “^2” on the disk “^3”.  (inff#=^0)."
  606. #define    kFontNotCopiedID                6002    /*    p0 =    Font Atom ID
  607.                                                     p1 =    Family Name (Str255)
  608.                                                     p2 =     File Spec ID
  609.                                                     p3 =    Volume Name (Str255)
  610.                                                     r  = */
  611.                                                     
  612. /*==========Font UPDATE action items================*/
  613.                                                 
  614.                                                 
  615. #define kFontUpdatedStr                    "FONT will be updated “^1” in the file “^2” on the disk “^3”.  (inff#=^0)."
  616. #define    kFontUpdatedID                    6003    /*    p0 =    Font Atom ID
  617.                                                     p1 =    Family Name (Str255)
  618.                                                     p2 =     File Spec ID
  619.                                                     p3 =    Volume Name (Str255)
  620.                                                     r  = */
  621.                                                 
  622. #define kFontNotUpdatedKeptExistStr        "FONT will NOT be updated “^1”, in the file “^2” on the disk “^3”, because the Installer is keeping the existing font.  (inff#=^0)."
  623. #define    kFontNotUpdatedKeptExistID        6004    /*    p0 =    Font Atom ID
  624.                                                     p1 =    Family Name (Str255)
  625.                                                     p2 =     File Spec ID
  626.                                                     p3 =    Volume Name (Str255)
  627.                                                     r  = */
  628.                                                     
  629. #define kFontNotUpdatedLockedStr        "FONT will NOT be updated “^1”, in the file “^2” on the disk “^3”, because the target file is locked.  (inff#=^0)."
  630. #define    kFontNotUpdatedLockedID            6005    /*    p0 =    Font Atom ID
  631.                                                     p1 =    Family Name (Str255)
  632.                                                     p2 =     File Spec ID
  633.                                                     p3 =    Volume Name (Str255)
  634.                                                     r  = */
  635.                                                     
  636. #define kFontNotUpdatedNotExistStr        "FONT will NOT be updated “^1”, in the file “^2” on the disk “^3”, because the target font did not exist.  (inff#=^0)."
  637. #define    kFontNotUpdatedNotExistID        6006    /*    p0 =    Font Atom ID
  638.                                                     p1 =    Family Name (Str255)
  639.                                                     p2 =     File Spec ID
  640.                                                     p3 =    Volume Name (Str255)
  641.                                                     r  = */
  642.                                                     
  643. #define kFontNotUpdatedProtectedStr        "FONT will NOT be updated “^1”, in the file “^2” on the disk “^3”, because a target font resource is protected.  (inff#=^0)."
  644. #define    kFontNotUpdatedProtectedID        6007    /*    p0 =    Font Atom ID
  645.                                                     p1 =    Family Name (Str255)
  646.                                                     p2 =     File Spec ID
  647.                                                     p3 =    Volume Name (Str255)
  648.                                                     r  = */
  649.                                                     
  650. /*==========Font REMOVE action items================*/
  651.                                                     
  652. #define kFontRemovedStr                    "FONT will be removed “^1”, from the file “^2” on the disk “^3”.  (inff#=^0)."
  653. #define    kFontRemovedID                    6008    /*    p0 =    Font Atom ID
  654.                                                     p1 =    Family Name (Str255)
  655.                                                     p2 =     File Spec ID
  656.                                                     p3 =    Volume Name (Str255)
  657.                                                     r  = */
  658.                                                     
  659. #define kFontNotRemovedStr                "FONT will NOT be removed “^1”, from the file “^2” on the disk “^3”.  (inff#=^0)."
  660. #define    kFontNotRemovedID                6009    /*    p0 =    Font Atom ID
  661.                                                     p1 =    Family Name (Str255)
  662.                                                     p2 =     File Spec ID
  663.                                                     p3 =    Volume Name (Str255)
  664.                                                     r  = */
  665.                                                     
  666. #define kFontNotRemovedNoExistStr        "FONT will NOT be removed “^1”, from the file “^2” on the disk “^3”, because it doesn't exist.  (inff#=^0)."
  667. #define    kFontNotRemovedNoExistID        6010    /*    p0 =    Font Atom ID
  668.                                                     p1 =    Family Name (Str255)
  669.                                                     p2 =     File Spec ID
  670.                                                     p3 =    Volume Name (Str255)
  671.                                                     r  = */
  672.                                                     
  673. #define kFontNotRemovedLockedStr        "FONT will NOT be removed “^1”, from the file “^2” on the disk “^3”, because the target file is locked.  (inff#=^0)."
  674. #define    kFontNotRemovedLockedID            6011    /*    p0 =    Font Atom ID
  675.                                                     p1 =    Family Name (Str255)
  676.                                                     p2 =     File Spec ID
  677.                                                     p3 =    Volume Name (Str255)
  678.                                                     r  = */
  679.                                                     
  680. #define kFontNotRemovedProtectedStr        "FONT will NOT be removed “^1”, from the file “^2” on the disk “^3”, because a target font resource is protected.  (inff#=^0)."
  681. #define    kFontNotRemovedProtectedID        6012    /*    p0 =    Font Atom ID
  682.                                                     p1 =    Family Name (Str255)
  683.                                                     p2 =     File Spec ID
  684.                                                     p3 =    Volume Name (Str255)
  685.                                                     r  = */
  686.                                                     
  687.  
  688. /*==================================================================================================*/
  689. /*===================================== Folder Progress Actions ====================================*/
  690. /*==================================================================================================*/
  691. #define    kFolderProgressAction            6100
  692.  
  693. #define kFolderCopiedStr                "FOLDER will be copied “^1” to the disk “^2”.  (Folder Atom ID=^0)."
  694. #define    kFolderCopiedID                    6101    /*    p0 =    Folder Atom ID
  695.                                                     p1 =    File Spec ID
  696.                                                     p2 =     Volume Name (Str255)
  697.                                                     p3 =
  698.                                                     r  = */
  699.                                                     
  700. /*==================================================================================================*/
  701. /*===================================== ResMerge Progress Actions ==================================*/
  702. /*==================================================================================================*/
  703. #define    kResMergeProgressAction        6200
  704.  
  705. #define kResMergeCopiedStr                "RESOURCES will be merged into the file “^1” on the disk “^2”.  (ResMerge Atom ID=^0)."
  706. #define    kResMergeCopiedID                6201    /*    p0 =    ResMerge Atom ID
  707.                                                     p1 =    File Spec ID
  708.                                                     p2 =     Volume Name (Str255)
  709.                                                     p3 =
  710.                                                     r  = */
  711.                                                     
  712.                                                     
  713.  
  714. #endif